package day2.HomeWork.Animal;

public class Bird extends Animal{
    //⻦的翼展
    private Double  wingSpan;

    public Bird() {
    }

    public Bird(String name, double wingSpan) {
        super(name);
        this.wingSpan = wingSpan;
    }

    @Override
    public void move() {
        System.out.println("鸟在飞翔");
    }

    @Override
    public void makeSound() {
        System.out.println("鸟发出嗷嗷叫声");
    }
}
